package bookstore.bound.auth;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

public class EnrollForm {

    @NotNull
    @Size(max = 127)
    private String email;

    @NotNull
    @Size(min = 11, max = 11)
    private String tel;

    @NotNull
    private byte[] pass;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        System.out.println("setEmail");
        this.email = email;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public byte[] getPass() {
        return pass;
    }

    public void setPass(byte[] pass) {
        this.pass = pass;
    }

}
